import Vue from 'vue'
import router from './router'
import App from './App.vue'
import {
  Button,
  Layout,
  Icon,
  Drawer,
  Radio,
  Menu,
  Form,
  Input,
  Select
} from 'ant-design-vue'
import Authorized from "./components/Authority/Authorized"
import Auth from './components/directives/auth'
import store from './store/Index.js'


Vue.component(Button.name, Button)
Vue.component(Icon.name, Icon)
Vue.component(Drawer.name, Drawer)
Vue.component('Authorized', Authorized)
Vue.use(Radio)
Vue.use(Menu)
Vue.use(Form)
Vue.use(Input)
Vue.use(Select)
Vue.use(Layout)
Vue.use(router)
Vue.use(Auth)
const IconFont=Icon.createFromIconfontCN({
  scriptUrl:'//at.alicdn.com/t/font_2349910_371z2n7798m.js'
})
Vue.component('IconFont',IconFont)

Vue.config.productionTip = false




new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
